home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Disc to the Future 2
/
Disc to the Future Part II Programmer's Reference (Wayzata Technology)(6013)(1992).bin
/
MAC
/
THINKC
/
4_0
/
NEWTEXTF
/
SOURCE_C
/
CTOSTR25.C
< prev
next >
Wrap
C/C++ Source or Header
|
1990-08-25
|
186b
|
8 lines
#include "MyLibrary.h"
unsigned char *CToStr255 (char *cstr, Str255 pstr)
{if (!(*cstr) || CLength (cstr) > 255L)
{*pstr = 0;
return (pstr);}
return (CToP (cstr, pstr));}